{smcl}
{txt}{sf}{ul off}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\Micah\Dropbox\Irrigation technology transition\final revisions for conditional acceptance\replication materials\outputs\logs\main_text_results.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}19 May 2024, 19:42:16
{txt}
{com}. 
. /* Run do file aggregating WIMAS records to water right group level */
. do "${c -(}dr_code{c )-}/data_prep/prepare_wrg_data.do"
{txt}
{com}. /* "Efficiency and water use: Dynamic effects of irrigation technology adoption
> by Micah Cameron-Harp and Nathan Hendricks
> 
> Code written by Micah Cameron-Harp
> May 16th, 2024
> 
> This do file creates the water right group level dataset. Subsets of this
> dataset are used in all analyses within our work. 
> 
> This file adds PRISM and SSURGO variables specific to each wuadet_key to the WIMAS 
>         data. The WIMAS database contains the information on irrigation behavior
>         such as acre-feet withdrawn, acres irrigated, and irrigation technology. 
>         WUADET_KEY's uniquely identify observations in the WIMAS database.
>         PRISM variables for each wuadet_key contained in "data\raw\prism_monthly.dta"
>         SSURGO variables for each wuadet_key contained in "data\raw\ssurgo.dta" 
>         WIMAS data for 1991 to 2019, with no duplicate wuadet_key values,
>                 contained in "data\raw\wimas_1991_2021.dta"
>         Pre-development aquifer characteristics containined 
>                 in "data\raw\predev/hycond_trs.dta"
>         Place of Use data is contained in "data\raw\wimas_pu.dta"
>         The key linking water right groups to wuadet_key values is      
>                 contained in "data\raw\wrg_key.dta"
> */
. 
. /* NOTE - Global macros for directories are created in the main_text_results.do 
>         file which calls this individual .do file */
. 
. *Create log file
. log using "$dr_output_log\prepare_wrg_dataset", replace
{err}log file already open
{txt}{search r(604), local:r(604);}

end of do-file
{search r(604), local:r(604);}

end of do-file

{search r(604), local:r(604);}

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\Micah\Dropbox\Irrigation technology transition\final revisions for conditional acceptance\replication materials\outputs\logs\main_text_results.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}19 May 2024, 19:42:23
{txt}{.-}
{smcl}
{txt}{sf}{ul off}